
********************************************************************************
**#	TABLE 3: Regression Analysis of Shareholder Engagement Determinants
********************************************************************************

*Set file path
capture cd "C:\Users\austin.starkweather\Dropbox\Research\CD&A Disclosure\Analysis"
capture cd "C:\Users\joshw\Dropbox\CD&A Disclosure\Analysis"
use "Data\Temp\cda_final80_final_n20610.dta", clear

*Regressions
est clear
local controls size_w_p0 mtb_w_p0 roa_w_p0 lev_w_p0 salesg_w_p0 abn_ret_1yr_p0 sd_returns_1yr_p0 op_loss_p0 src_all ln_analyst0 io_pct0 ceo_turnover_all ln_equity_pay_ceo ln_nequity_pay_ceo independent_dir_pt comp_committee_tenure_ave td_cboard dualclass
eststo: xi: reghdfe eng_ind_p1 sop_against_iss `controls', absorb(fyear sic1) cluster(fyear sic1)
eststo: xi: reghdfe eng_ind_p1 issrecno        `controls', absorb(fyear sic1) cluster(fyear sic1)
eststo: xi: reghdfe eng_ind_p1 sop_against_iss `controls', absorb(fyear gvkey) cluster(fyear gvkey)
eststo: xi: reghdfe eng_ind_p1 issrecno        `controls', absorb(fyear gvkey) cluster(fyear gvkey)
eststo: xi: ppmlhdfe eng_num_p1 sop_against_iss `controls', absorb(fyear sic1) cluster(fyear sic1)
eststo: xi: ppmlhdfe eng_num_p1 issrecno        `controls', absorb(fyear sic1) cluster(fyear sic1)
eststo: xi: ppmlhdfe eng_num_p1 sop_against_iss `controls', absorb(fyear gvkey) cluster(fyear gvkey)
eststo: xi: ppmlhdfe eng_num_p1 issrecno        `controls', absorb(fyear gvkey) cluster(fyear gvkey)
esttab using "Output\Final\T3_engage_deter.csv", b(3) ar2 pr2 title("Determinants of shareholder engagement") varwidth(25) order(sop_against_iss issrecno size_w_p0 mtb_w_p0 roa_w_p0 lev_w_p0 salesg_w_p0 abn_ret_1yr_p0 sd_returns_1yr_p0 op_loss_p0 src_all ln_analyst0 io_pct0 ceo_turnover_all ln_equity_pay_ceo ln_nequity_pay_ceo independent_dir_pt comp_committee_tenure_ave td_cboard dualclass) star(* 0.10 ** 0.05  *** 0.01 ) replace
